Systems and Methods for Single-Step Out-of-Band Authentication

ABSTRACT

A method of performing out-of-band user authentication includes, by a service electronic device associated with a service a request to initiate a session of the service, generating an authentication token, encrypting the authentication token to generate an encrypted authentication token, and transmitting the encrypted authentication token to the electronic device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to: (1) U.S. Patent Application No. 62/722,630, filed Aug. 24, 2018; (2) U.S. Patent Application No. 62/722,410, filed Aug. 24, 2018; and (3) U.S. Patent Application No. 62/735,592, filed Sep. 24, 2018. The disclosures of each priority application are fully incorporated into this document by reference.

BACKGROUND

Out-of-band, two-factor, user authentication involves an additional method of security that is used to supplement login credentials when accessing webpages, software services, applications, networks, and/or the like. While out-of-band authentication services may offer an additional layer of security, most out-of-band authentication mechanisms require the use of additional physical hardware that is different from the hardware that is currently responsible for providing access to the webpages, software services, and/or applications. Integrating the additional hardware with the existing hardware is time consuming, labor-intensive, and expensive.

Moreover, the use of typical out-of-band user authentication mechanisms is cumbersome for users because the mechanism usually requires users to memorize a code or phrase and manually provide the code or phrase to the out-of-band authentication mechanism for processing.

SUMMARY

In an embodiment, a method of performing out-of-band user authentication includes, by a service electronic device associated with a service, receiving, from an electronic device, a request to initiate a session of the service, generating an authentication token, encrypting the authentication token to generate an encrypted authentication token, and transmitting the encrypted authentication token to the electronic device. The method includes, by the electronic device, receiving the encrypted authentication token, retrieving a public key and a private key associated with the electronic device from a data store, retrieving a service public key from a data store, where the service public key is associated with the service, decrypting the encrypted authentication token using the private key to obtain the authentication token, signing the authentication token with the private key to generate a signed authentication token, encrypting the signed authentication token with the service public key to generate a signed-encrypted authentication token, and sending the signed-encrypted authentication token and a security token to a server electronic device. The method includes, by the server electronic device, receiving a request for the signed-encrypted authentication token from the service electronic device, where the request includes a read token and an indication of a memory location accessible by the server electronic device, verifying that the read token matches information stored at the memory location, and in response to verifying that the read token matches information stored at the memory location, sending the signed-encrypted authentication token to the service electronic device.

In an embodiment, the service electronic device may decrypt the signed-encrypted authentication token using a private key associated with the service to obtain a signed-decrypted authentication token, verify the signed-decrypted authentication token using the public key associated with the electronic device to obtain a verified decrypted authentication token, determine whether the verified decrypted authentication token matches the authentication token generated by the service electronic device, and in response to determining that the verified decrypted authentication token matches the authentication token generated by the service electronic device, authenticate the request to access the service. The method may further include deleting the private key, the public key, the read token, the security token and the indication of the memory location from the electronic device.

The method my further include initializing an account for the service by the electronic device by receiving a request from the user to access the service, receiving the service public key from the service electronic device associated with the service, storing the service public key in a data store of the electronic device, generating the public key and the private key associated with the electronic device and storing the public key and the private key in the data store, generating the security token and the read token, transmitting the security token to the server electronic device, receiving from the server electronic device the indication of the location of where the security token is stored by the server electronic device, transmitting the public key, the read token and the indication of the location to the service electronic device to create a new account for the user, and deleting the public key, the private key, the security token, the read token and the indication of the location from the data store.

The service electronic device may create the new account for the user using the public key, the read token and the indication of the location. Encrypting the authentication token to generate an encrypted authentication token may include encrypting the authentication token using the public key associated with the electronic device. Receiving the encrypted authentication token may include receiving an image that includes the encrypted authentication token, and obtaining the encrypted authentication token by processing the image. The image may include a Quick Response (QR) code, and processing the image may include scanning the QR code to obtain the encrypted authentication token.

The electronic device may receive an indication that the user wishes to terminate the session of the service, and transmit the security token and the indication of the location to the server electronic device.

The server electronic device may receive the security token and the indication of the location from the electronic device, verify that the received security token matches content stored at the location, and in response to verifying that the received security token matches content stored at the location, sending an indication of a successful session termination to the electronic device. In response to verifying that the received security token matches content stored at the location, the read token and the signed-encrypted authentication token may be deleted from the location. The electronic device may delete the security token and the indication of the location by the electronic device.

The server electronic device may receive the security token and the indication of the location from the electronic device, verify that the received security token matches content stored at the location, and in response to verifying that the received security token does not match content stored at the location, sending an indication of an unsuccessful session termination to the electronic device.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other objects, features, and advantages of the present disclosure set forth herein will be apparent from the following description of particular embodiments of those inventive concepts, as illustrated in the accompanying drawings. Also, in the drawings the like reference characters refer to the same parts throughout the different views. The drawings depict only typical embodiments of the present disclosure and, therefore, are not to be considered limiting in scope.

FIG. 1 is a block diagram illustrating an example of a computing environment that enables single-step out-of-band user authentication, according to aspects of the present disclosure.

FIG. 2 is a flowchart of an example process for initializing single-step out-of-band authentication, according to aspects of the present disclosure.

FIG. 3 is a flowchart of an example process for performing single-step out-of-band user authentication, according to aspects of the present disclosure.

FIG. 4 is a flowchart of an example process of terminating a service session request according to aspects of the present disclosure.

FIG. 5 is a block diagram illustrating an example computing device specifically implemented to enable single-step out-of-band authentication, according to aspects of the present disclosure.

DETAILED DESCRIPTION

As used in this document, the singular forms “a,” “an,” and “the” include plural references unless the context clearly dictates otherwise. Unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art. As used in this document, the term “comprising” means “including, but not limited to.”

An “electronic device” or a “computing device” refers to a device that includes a processor and memory. Each device may have its own processor and/or memory, or the processor and/or memory may be shared with other devices as in a virtual machine or container arrangement. The memory will contain or receive programming instructions that, when executed by the processor, cause the electronic device to perform one or more operations according to the programming instructions. Examples of electronic devices include, for example, smartphones, personal digital assistants, cameras, tablet devices, electronic readers, personal computers, servers, and the like.

The terms “memory,” “memory device,” “data store,” “data storage facility” and the like each refer to a non-transitory device on which computer-readable data, programming instructions or both are stored. Except where specifically stated otherwise, the terms “memory,” “memory device,” “data store,” “data storage facility” and the like are intended to include single device embodiments, embodiments in which multiple memory devices together or collectively store a set of data or instructions, as well as individual sectors within such devices.

The terms “processor” and “processing device” refer to a hardware component of an electronic device that is configured to execute programming instructions. Except where specifically stated otherwise, the singular term “processor” or “processing device” is intended to include both single-processing device embodiments and embodiments in which multiple processing devices together or collectively perform a process.

In this document, when terms such “first” and “second” are used to modify a noun, such use is simply intended to distinguish one item from another, and is not intended to require a sequential order unless specifically stated.

Aspects of the present disclosure involve a system that enables simplified, single-step, out-of-band user authentication for users requesting access to various software services and/or related content, such as requesting access to a webpage, software service, software application, and/or the like.

Generally, out-of-band user authentication represents a type of two-factor authentication process that involves a username and password processed through a first, primary, communication channel and a secondary verification method through a separate communication channel that is different from the primary communication channel. For example, a typical out-of-band authentication process may involve providing: 1) a username and password of a user (first factor) to a webpage, application, or service; and 2) a piece of unique data or information (second factor) that only the user can immediately access and know, such as a physical token. Using a username/password in conjunction with a piece of information that only the user knows makes it harder for potential intruders to gain access to the webpage, application, or service and thereby obtain private data and functionality.

The use of out-of-band user authentication may present challenges. For example, since out-of-band user authentication involves two steps, the process is inconvenient and cumbersome to users—the users have to provide credentials to an original application or website, obtain a separate key from a separate communication channel, memorize the obtained key, and re-enter it at the original application or website to access the desired webpage, application, or service. Such a process is time consuming and error-prone. Moreover, out-of-band user authentication mechanisms are vulnerable to “man-in-the-middle attacks” because the authenticating entity cannot verify the authenticity of the entity supplying the authentication credentials. Finally, out-of-band user authentication mechanisms are vulnerable to “Trojan Attacks”, wherein malicious software referred to as a “Trojan” is installed on user's computer. Then, when a user logs into a secure software service, the Trojan software manipulates the software to obtain proprietary information and software.

The systems disclosed in the present application solves these specific technical problems, among others, by providing a single-step, out-of-band user authentication process. More specifically, the disclosed system simplifies the two-factor authentication process by replacing the username and password login pattern (i.e., the first factor) with a single-step pattern that uses a public-key and location information identifying an expected storage location of validated user authentication data. Once the single-step pattern has been established, the system automatically authenticates users (i.e., allows users to login) based on secure responses identifying the expected storage location, thereby proving the authentication of the user.

FIG. 1 illustrates an example of a computer network 100 (e.g., a telecommunications network) that may be used to implement single-step out-of-band user authentication without the repeated use of user credentials, such as a username and password. The computer network 100 may include various devices communicating and functioning together to enable single-step out-of-band user authentication. As illustrated, a communications network 130 may allow for communication in the computer network 100. The communications network 130 may include one or more wireless networks such as, but not limited to, one or more of a Local Area Network (LAN), Wireless Local Area Network (WLAN), a Personal Area Network (PAN), Campus Area Network (CAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a Wireless Wde Area Network (VWVAN), Global System for Mobile Communications (GSM), Personal Communications Service (PCS), Digital Advanced Mobile Phone Service (D-Amps), Bluetooth, Wi-Fi, Fixed Wireless Data, 2G, 2.5G, 3G, 4G, LTE networks, enhanced data rates for GSM evolution (EDGE), General packet radio service (GPRS), enhanced GPRS, messaging protocols such as, TCP/IP, SMS, MMS, extensible messaging and presence protocol (XMPP), real time messaging protocol (RTMP), instant messaging and presence protocol (IMPP), instant messaging, USSD, IRC, or any other wireless data networks or messaging protocols. In various embodiments, a communications network 130 may include one or more wired networks.

In an illustrative usage scenario, a user may interact with user-interface (UI) 118 of one or more electronic devices 122 ₁, 122 ₂, . . . 122 _(N) to request access to various services, such as a webpage, a site, software service, application, content and/or the like (referred to throughout this disclosure as a “service”), located at a service computing device 102 that is associated with one or more services (illustrated as webpage 103 and software service 105). The one or more electronic devices 122 ₁, 122 ₂, . . . 122 _(N), may be a personal computer, work station, mobile device, mobile phone, tablet device, processor, and/or other processing device capable of implementing and/or executing processes, software, applications, etc., that includes network-enabled devices and/or software, such as a user-interface 118 for communication over the communications network 130 (e.g., browsing the internet). Additionally, the one or more electronic devices 122 ₁, 122 ₂, . . . 122 _(N), may include one or more processors that process software or other machine-readable instructions and may include a memory to store the software or other machine-readable instructions and data. In various embodiments, an application or other interface of an electronic device 122 ₁, 122 ₂, . . . 122 _(N) may permit the electronic device to communicate with a service electronic device, a server electronic device or another electronic device. For example, an Internet browser or an application that is installed on an electronic device may be used.

The request may be transmitted from the service computing device 102 to an out-of-band secure network 104, which may be any type of private communications computing network including one or more computing devices, such as server electronic device 107. In one specific example, the secure network 104 and/or server electronic device 107 may manage the encryption and decryption of public and/or private keys used to authenticate users involved in a single-step, out-of-band authentication process, wherein the users are requesting access to webpages 103 and/or software services 105 of the service computing device 102.

FIG. 2 illustrates an example single-step out-of-band user authentication initialization process according to an embodiment. The process 200 may be implemented and/or executed by the computing network 100 of FIG. 1. As illustrated by FIG. 2, an electronic device may receive 202 a request from a user to enter and/or otherwise access a service. At 204, in response to the request, a public key (S-PK) corresponding to the service is received and stored on an electronic device. For example, a S-PK corresponding to a service may be received from one or more service electronic devices. At 206, a strong public/private key pair (PK, SK) (e.g., 256-bit) is generated by and stored on the electronic device.

At 208, a security token (ST), read token (RT) and/or delete token (DT) may be generated by and stored at the electronic device. One or more of the generated tokens may extend one or more benefits or privileges to a holder of the token. For example, a ST may grant to its holder access to certain secret or private information. As another example, a RT may permit its owner to read certain secret or private information. And as another example, a DT may permit its owner to delete certain secret or private information. The ST, RT and/or DT may be randomly generated by the electronic device.

At 210, the ST may be transmitted from the electronic device to a server electronic device of a secure network. The server electronic device may receive 212 the ST, and may write the ST to a memory location (KL) associated with the server electronic. In an embodiment, KL may be assigned randomly. At 214, the server electronic device may return an identifier associated with the KL (KL identifier) to the electronic device for storage. The KL identifier may uniquely identify KL, and may be an address, a pointer, or other identifier. At 216, the electronic device may transmit PK, RT and/or the KL identifier to a service electronic device. At 218, the service electronic device may generate a new account using PK, RT and/or the KL identifier. At 220, the PK, SK, ST, RT, DT and/or KL identifier may be deleted from memory associated with the electronic device.

FIG. 3 illustrates an example single-step out-of-band user authentication process according to an embodiment. The process 300 illustrated by FIG. 3 may be implemented and/or executed by, for example, the computing network 100 of FIG. 1. As illustrated, a request to initiate a session of a service and/or otherwise access a service may be received 302 by an electronic device. This request may be received 302 by an electronic device from a user. Referring back to FIG. 1, a user may interact with a particular electronic device 122 ₁, 122 ₂, . . . 122 _(N) to send a request to the service computing device 102 of the secure network 104 requesting access to the services (e.g., webpage 103 and/or the software service 105).

In response to the request, at 304, the service electronic device may generate an authentication token (“AT”). The service electronic device may encrypt 306 the AT using the PK of the electronic device. At 308, the service electronic device may transmit the encrypted AT to the particular electronic device. In various embodiments, the service electronic device may transmit the encrypted AT to an electronic device embedded in an image, a graphic and/or the like. For instance, the service may transmit the encrypted AT to an electronic device embedded in a Quick Response (QR) code. At 310, the electronic device may obtain the encrypted AT, such as by scanning the QR code that includes the encrypted AT. At 312, the electronic device may obtain PK, SK and/or S-PK from storage of the electronic device.

At 314, the electronic device may decrypt the encrypted AT using the obtained SK. At 316, the electronic device may sign the AT with the SK to generate a signed authentication token (AT^(SK)). At 318, the electronic device may encrypt AT^(SK) with S-PK to generate a signed-encrypted authentication token ((AT^(SK))^(S-PK)). At 320, ST, RT, and/or the indication of KL may be obtained from storage on the particular electronic device.

At 322, a server electronic device may receive (AT^(SK))^(S-PK)), ST, RT and/or the KL identifier from an electronic device and may verify that ST corresponds to information stored at KL. The server electronic device may write 324 RT and (AT^(SK))^(S-PK)) to KL. At 326, the particular electronic device may be notified that the authentication is done and provides access to the service.

At 328, the service may send a request for (AT^(SK))^(S-PK)) to the server electronic device that includes RT and the KL identifier. At 330, the server electronic device may verify that RT corresponds to the information stored at KL, and may return information purporting to be (AT^(SK))^(S-PK)) when there is a correlation. In an embodiment, the service may receive 332 the sent information from the server electronic device. The service may decrypt 334 the sent information with S-SK and then verify the signature using PK.

At 336, if the decrypted information corresponds to AT, the user's session may be authenticated. At 338, the PK, SK, RT, ST and/or KL indicator may be deleted from the electronic device.

FIG. 4 illustrates an example single-step out-of-band user revocation process according to an embodiment. As illustrated by FIG. 4, an electronic device may receive 400 an indication from a user that the user wishes to terminate a session of a service. The electronic device may read 402 ST and/or the KL identifier from storage of the electronic device. The electronic device may transmit 404 the KL identifier and/or ST to a server electronic device. The server electronic device may receive 406 the KL identifier and/or ST. The server electronic device may verify 408 that ST corresponds to information stored at KL. Depending on the result of the verification, the server electronic device may return 410 an indication of sign out. For example, if ST matches information that is stored at KL, the server electronic device may return 410 an indication of a successful sign out to the electronic device. If ST does not match information stored at KL, the server electronic device may return 410 an indication that sign out was not successful. The electronic device may receive 412 the indication of sign out.

In various embodiments, the server electronic device may delete 414 RT and/or (AT^(SK))^(S-PK)) from KL. The electronic device may delete 416 ST and/or the indication of KL from storage on the electronic device.

FIG. 5 illustrates an example of a suitable computing and networking environment 500 that may be used to implement various aspects of the present disclosure described in FIGS. 1-4. As illustrated, the computing and networking environment 500 includes a general purpose computing device 500, although it is contemplated that the networking environment 500 may include one or more other computing systems, such as personal computers, server computers, hand-held or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, digital signal processors, state machines, logic circuitries, distributed computing environments that include any of the above computing systems or devices, and the like.

Components of the computing device 500 may include various hardware components, such as a processing unit 502, a data store 504 (e.g., a system memory), and a system bus 506 that couples various system components of the computing device 500 to the processing unit 502. The system bus 506 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. For example, such architectures may include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.

The computing device 500 may further include a variety of computer-readable media 508 that includes removable/non-removable media and volatile/nonvolatile media, but excludes transitory propagated signals. Computer-readable media 508 may also include computer storage media and communication media. Computer storage media includes removable/non-removable media and volatile/nonvolatile media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, program modules or other data, such as RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to store the desired information/data and which may be accessed by the computer 500. Communication media includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. For example, communication media may include wired media such as a wired network or direct-wired connection and wireless media such as acoustic, RF, infrared, and/or other wireless media, or some combination thereof. Computer-readable media may be embodied as a computer program product, such as software stored on computer storage media.

The data storage or system memory 504 includes computer storage media in the form of volatile/nonvolatile memory such as read only memory (ROM) and random access memory (RAM). A basic input/output system (BIOS), containing the basic routines that help to transfer information between elements within the computing device 500 (e.g., during start-up) is typically stored in ROM. RAM typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 502. For example, in one embodiment, data storage 504 holds an operating system, application programs, and other program modules and program data.

Data storage 504 may also include other removable/non-removable, volatile/nonvolatile computer storage media. For example, data storage 504 may be: a hard disk drive that reads from or writes to non-removable, nonvolatile magnetic media; a magnetic disk drive that reads from or writes to a removable, nonvolatile magnetic disk; and/or an optical disk drive that reads from or writes to a removable, nonvolatile optical disk such as a CD-ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media may include magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The drives and their associated computer storage media, described above and illustrated in FIG. 5, provide storage of computer-readable instructions, data structures, program modules and other data for the computing device 400.

A user may enter commands and information through a user interface 510 or other input devices such as a tablet, electronic digitizer, a microphone, keyboard, and/or pointing device, commonly referred to as mouse, trackball, or touch pad. Other input devices may include a joystick, game pad, satellite dish, scanner, or the like. Additionally, voice inputs, gesture inputs (e.g., via hands or fingers), or other natural user interfaces may also be used with the appropriate input devices, such as a microphone, camera, tablet, touch pad, glove, or other sensor. These and other input devices are often connected to the processing unit 502 through a user interface 510 that is coupled to the system bus 506, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). A monitor 512 or other type of display device is also connected to the system bus 506 via an interface, such as a video interface. The monitor 512 may also be integrated with a touch-screen panel or the like.

The computing device 500 may operate in a networked or cloud-computing environment using logical connections of a network interface or adapter 514 to one or more remote devices, such as a remote computer. The remote computer may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computing device 500. The logical connections depicted in FIG. 5 include one or more local area networks (LAN) and one or more wide area networks (WAN), but may also include other networks. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.

When used in a networked or cloud-computing environment, the computing device 500 may be connected to a public and/or private network through the network interface or adapter 514. In such embodiments, a modem or other means for establishing communications over the network is connected to the system bus 506 via the network interface or adapter 514 or other appropriate mechanism. A wireless networking component including an interface and antenna may be coupled through a suitable device such as an access point or peer computer to a network. In a networked environment, program modules depicted relative to the computing 500, or portions thereof, may be stored in the remote memory storage device.

The foregoing merely illustrates the principles of the disclosure. Various modifications and alterations to the described embodiments will be apparent to those skilled in the art in view of the teachings herein. It will thus be appreciated that those skilled in the art will be able to devise numerous systems, arrangements and methods which, although not explicitly shown or described herein, embody the principles of the disclosure and are thus within the spirit and scope of the present disclosure. From the above description and drawings, it will be understood by those of ordinary skill in the art that the particular embodiments shown and described are for purposes of illustrations only and are not intended to limit the scope of the present disclosure. References to details of particular embodiments are not intended to limit the scope of the disclosure. 

What is claimed is:
 1. A method of performing out-of-band user authentication, the method comprising: by a service electronic device associated with a service: receiving, from an electronic device, a request to initiate a session of the service, generating an authentication token, encrypting the authentication token to generate an encrypted authentication token, and transmitting the encrypted authentication token to the electronic device, by the electronic device: receiving the encrypted authentication token, retrieving a public key and a private key associated with the electronic device from a data store, retrieving a service public key from a data store, wherein the service public key is associated with the service, decrypting the encrypted authentication token using the private key to obtain the authentication token, signing the authentication token with the private key to generate a signed authentication token, encrypting the signed authentication token with the service public key to generate a signed-encrypted authentication token, and sending the signed-encrypted authentication token and a security token to a server electronic device, by the server electronic device: receiving a request for the signed-encrypted authentication token from the service electronic device, wherein the request includes a read token and an indication of a memory location accessible by the server electronic device, verifying that the read token matches information stored at the memory location, and in response to verifying that the read token matches information stored at the memory location, sending the signed-encrypted authentication token to the service electronic device.
 2. The method of claim 1, further comprising: by the service electronic device: decrypting the signed-encrypted authentication token using a private key associated with the service to obtain a signed-decrypted authentication token, verifying the signed-decrypted authentication token using the public key associated with the electronic device to obtain a verified decrypted authentication token, determining whether the verified decrypted authentication token matches the authentication token generated by the service electronic device, and in response to determining that the verified decrypted authentication token matches the authentication token generated by the service electronic device, authenticating the request to access the service.
 3. The method of claim 2, further comprising, deleting the private key, the public key, the read token, the security token and the indication of the memory location from the electronic device.
 4. The method of claim 1, further comprising initializing an account for the service by the electronic device by: receiving a request from the user to access the service; receiving the service public key from the service electronic device associated with the service, storing the service public key in a data store of the electronic device, generating the public key and the private key associated with the electronic device and storing the public key and the private key in the data store, generating the security token and the read token, transmitting the security token to the server electronic device, receiving from the server electronic device the indication of the location of where the security token is stored by the server electronic device, transmitting the public key, the read token and the indication of the location to the service electronic device to create a new account for the user, and delete the public key, the private key, the security token, the read token and the indication of the location from the data store.
 5. The method of claim 4, further comprising, by the service electronic device, creating the new account for the user using the public key, the read token and the indication of the location.
 6. The method of claim 1, wherein encrypting the authentication token to generate an encrypted authentication token comprises encrypting the authentication token using the public key associated with the electronic device.
 7. The method of claim 1, wherein receiving the encrypted authentication token comprises: receiving an image that includes the encrypted authentication token; and obtaining the encrypted authentication token by processing the image.
 8. The method of claim 7, wherein the image comprises a Quick Response (QR) code, and processing the image comprises scanning the QR code to obtain the encrypted authentication token.
 9. The method of claim 1, further comprising: receiving, by the electronic device, an indication that the user wishes to terminate the session of the service; and transmitting, by the electronic device, the security token and the indication of the location to the server electronic device.
 10. The method of claim 9, further comprising: by the server electronic device: receive the security token and the indication of the location from the electronic device, verify that the received security token matches content stored at the location, and in response to verifying that the received security token matches content stored at the location, sending an indication of a successful session termination to the electronic device.
 11. The method of claim 10, further comprising, in response to verifying that the received security token matches content stored at the location, deleting the read token and the signed-encrypted authentication token from the location.
 12. The method of claim 10, further comprising deleting the security token and the indication of the location by the electronic device.
 13. The method of claim 9, further comprising: by the server electronic device: receive the security token and the indication of the location from the electronic device, verify that the received security token matches content stored at the location, and in response to verifying that the received security token does not match content stored at the location, sending an indication of an unsuccessful session termination to the electronic device.
 14. A system of performing out-of-band user authentication, the system comprising: a service electronic device associated with a service; an electronic device in communication with the service electronic device; a server electronic device in communication with the server electronic device; a first computer-readable storage medium comprising one or more programming instructions that, when executed, cause the service electronic device to: receive, from the electronic device, a request to initiate a session of the service, generate an authentication token, encrypt the authentication token to generate an encrypted authentication token, and transmit the encrypted authentication token to the electronic device, a second computer-readable storage medium comprising one or more programming instructions that, when executed, cause the electronic device to: receive the encrypted authentication token, retrieve a public key and a private key associated with the electronic device from a data store, retrieve a service public key from a data store, wherein the service public key is associated with the service, decrypt the encrypted authentication token using the private key to obtain the authentication token, sign the authentication token with the private key to generate a signed authentication token, encrypt the signed authentication token with the service public key to generate a signed-encrypted authentication token, and send the signed-encrypted authentication token and a security token to the server electronic device; and a third computer-readable storage medium comprising one or more programming instructions that, when executed, cause the server electronic device to: receive a request for the signed-encrypted authentication token from the service electronic device, wherein the request includes a read token and an indication of a memory location accessible by the server electronic device, verify that the read token matches information stored at the memory location, and in response to verifying that the read token matches information stored at the memory location, send the signed-encrypted authentication token to the service electronic device.
 15. The system of claim 14, wherein the first computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the service electronic device to: decrypt the signed-encrypted authentication token using a private key associated with the service to obtain a signed-decrypted authentication token, verify the signed-decrypted authentication token using the public key associated with the electronic device to obtain a verified decrypted authentication token, determine whether the verified decrypted authentication token matches the authentication token generated by the service electronic device, and in response to determining that the verified decrypted authentication token matches the authentication token generated by the service electronic device, authenticate the request to access the service.
 16. The system of claim 15, wherein the second computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the electronic device to delete the private key, the public key, the read token, the security token and the indication of the memory location from the electronic device.
 17. The system of claim 14, wherein the second computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the electronic device to initialize an account for the service by: receiving a request from the user to access the service; receiving the service public key from the service electronic device associated with the service, storing the service public key in a data store of the electronic device, generating the public key and the private key associated with the electronic device and storing the public key and the private key in the data store, generating the security token and the read token, transmitting the security token to the server electronic device, receiving from the server electronic device the indication of the location of where the security token is stored by the server electronic device, transmitting the public key, the read token and the indication of the location to the service electronic device to create a new account for the user, and delete the public key, the private key, the security token, the read token and the indication of the location from the data store.
 18. The system of claim 17, wherein the first computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the service electronic device to create the new account for the user using the public key, the read token and the indication of the location.
 19. The system of claim 14, wherein the one or more programming instructions that, when executed, cause the service electronic device to encrypt the authentication token to generate an encrypted authentication token comprise one or more programming instructions that, when executed, cause the service electronic device to encrypt the authentication token using the public key associated with the electronic device.
 20. The system of claim 14, wherein one or more programming instructions that, when executed, cause the electronic device to receive the encrypted authentication token comprise one or more programming instructions that, when executed, cause the electronic device to: receive an image that includes the encrypted authentication token; and obtain the encrypted authentication token by processing the image.
 21. The system of claim 20, wherein the image comprises a Quick Response (QR) code, and processing the image comprises scanning the QR code to obtain the encrypted authentication token.
 22. The system of claim 14, wherein the second computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the electronic device to: receive, an indication that the user wishes to terminate the session of the service; and transmit the security token and the indication of the location to the server electronic device.
 23. The system of claim 22, wherein the third computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the server electronic device to: receive the security token and the indication of the location from the electronic device; verify that the received security token matches content stored at the location; and in response to verifying that the received security token matches content stored at the location, sending an indication of a successful session termination to the electronic device.
 24. The system of claim 23, wherein the third computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the server electronic device to, in response to verifying that the received security token matches content stored at the location, deleting the read token and the signed-encrypted authentication token from the location.
 25. The system of claim 22, wherein the third computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the server electronic device to: receive the security token and the indication of the location from the electronic device, verify that the received security token matches content stored at the location, and in response to verifying that the received security token does not match content stored at the location, sending an indication of an unsuccessful session termination to the electronic device. 